package cn.hu.user.model;

import java.io.Serializable;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

public class User implements Serializable {
	/*
	 * @Min(1)
	 * 
	 * @Max(Integer.MAX_VALUE)
	 */
	private String userId;
	private String username;
	private String pwd;

	
	public User() {
		super();
	}

	public User(String userId, String username, String pwd) {
		super();
		this.userId = userId;
		this.username = username;
		this.pwd = pwd;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", username=" + username + ", pwd=" + pwd + "]";
	}
	
	

}
